import tdRequest from "@/request/trademark";
export const reqGetCategory1ListData=async()=>{
    return await tdRequest.get('/admin/product/getCategory1')
}
export const reqGetCategory2ListData=async(category1Id:number)=>{
    return await tdRequest.get(`/admin/product/getCategory2/${category1Id}`)
}
export const reqGetCategory3ListData = async(category2Id:number)=>{
    return await tdRequest.get(`/admin/product/getCategory3/${category2Id}`)
}
// 根据三级id获取请求
export const reqGetCateGoryby3Id = async(category1Id:number,category2Id:number,category3Id:number)=>{
    return await tdRequest.get(`/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`)
}
// /admin/product/attrInfoList/{category1Id}/{category2Id}/{category3Id}